{% extends 'layouts/default.html' %}
{% block title %}Gitamin{% endblock %}

{% block body %}
{% include 'partials/nav.html' %}
<div class="container">
{% include 'partials/errors.html' %}
<div class="panel panel-default hidden-xs">
  <div class="panel-body" style="text-align: center;">
  <div class="media" style="width: 480px; margin:0px auto; text-align: left;">
    <div class="media-left">
      <i class="octicon octicon-gift media-object" style="font-size: 55px; width: 55px; color: #333;"></i>
    </div>
    <div class="media-body" style="line-height: 200%; text-align: center;">
      <div style="font-size: 15px">
    Gitamin 官方网站源码 <a href="https://github.com/GitaminHQ/Gitamin" target="_blank">Gitamin</a> 正式上线！
      </div>
      <div>
        <code style="padding: 4px 10px;">git clone git@github.com:GitaminHQ/Gitamin.git</code>
      </div>
    </div>
  </div>
</div>
</div>
    <div class="col-md-9 main-col">
        <div class="panel panel-default">
            <div class="panel-heading">Projects</div>
            <div class="panel-body">
    {% for project in projects %}
    <div class="repository">
        <div class="repository-header">
            <span class="octicon octicon-repo"></span>  <a href="{{ route('repository', {owner: project.owner.slug, project: project.slug}) }}">{{project.owner.name}}/{{ project.name }}</a>
        </div>
        <div class="repository-body">
            {% if project.description %}
            <p>{{ project.description }}</p>
            {% else %}
            <p>There is no repository description file. Please, create one to remove this message.</p>
            {% endif %}
        </div>
    </div>
    {% endfor %}
</div>
</div>
    </div>
    <div class="col-md-3 side-bar">
        <!-- -->
        <div class="panel panel-default corner-radius">
            <div class="panel-heading">
              <h3 class="panel-title">捐助Gitamin</h3>
            </div>
            <div class="panel-body">
                <table>
                    <tbody>
                        <tr>
                            <td class="" width="49%" align="left"><img src="http://hifone.com/images/alipay.png" width="160"></td>
                            <td class="veti_separator" width="49%" align="center">
                            <span class="snow"> &lt;-- 捐助账号</span>
                            <br><br>
                            您的支持<br>我的动力
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <!-- end -->
        <div class="panel panel-default corner-radius">
    <div class="panel-heading">
      <h3 class="panel-title">Useful Links</h3>
    </div>
    <ul class="list-group">
            <li class="list-group-item"><a href="http://hifone.com/" rel="nofollow" title="Hifone" target="_blank"><img src="http://hifone.com/images/links/hifone.png" style="width:150px; margin:6px 0;"></a></li>
          </ul>
  </div>
        <!-- end -->

    </div>

    <hr />
    </div>

    {% include 'partials/footer.html' %}
</div>
{% endblock %}
